﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DHQGHN.DAL.DataMapper;

namespace DHQGHN.DAL.BO
{
    public class BaseBO
    {

        public BaseBO(){
            
        }
        public String DEFAULT_CONN_STRING
        {
            get
            {
                return ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString;
            }
        }
        public String METADATA_CONN_STRING
        {
            get
            {
                return ConfigurationManager.ConnectionStrings["MetaDataConnection"].ConnectionString;
            }
        }
        public String TKTHDSCORE_CONN_STRING
        {
            get
            {
                return ConfigurationManager.ConnectionStrings["TKTHDSCoreConnection"].ConnectionString;
            }
        }
        public Type DEFAULT_MAPPER_TYPE
        {
            get
            {
                return typeof(BaseMapper);
            }
            set
            {
                DEFAULT_MAPPER_TYPE = value;
            }

        }
    }
}
